<?php

class ExerciseDescription
{	
	/**
    *@var string
    **/
	private $exerciseDescription;

	/**
    *@var int const
    **/
	const Min_Description_Length = 1;
	/**
    *@var int const
    **/	
	const Max_Description_Length = 200;

	/**
    *@param string
    **/	
	public function __construct($exerciseDescription)
	{
		if(strlen($exerciseDescription) >= self::Min_Description_Length && 
		   strlen($exerciseDescription) <= self::Max_Description_Length)
		{
			$this->exerciseDescription = $exerciseDescription;
		}
	}

	/**
    *@return string
    **/	
	public function getExerciseDescription()
	{
		return $this->exerciseDescription;
	}
}